package exttable.timetable;

import exttable.SGTTestParametrs;
import exttable.view.ILocalsation;
import exttable.view.ViewLocales;
import utils.ELocale;
import utils.Localisation;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: Apr 12, 2010
 * Time: 2:12:14 PM
 * To change this template use File | Settings | File Templates.
 */
//do not correct ANALYS map to value in DB
public enum ETestType implements ILocalsation {
    ANALYS(Localisation.getMessage("type.analysis", ELocale.RU)
            , Localisation.getMessage("type.analysis", ELocale.EN)
            , Localisation.getMessage("type.analysis", ELocale.KZ)
    ),
    SIDE_EFFECTS(Localisation.getMessage("type.sideeffects", ELocale.RU)
            , Localisation.getMessage("type.sideeffects", ELocale.EN)
            , Localisation.getMessage("type.sideeffects", ELocale.KZ)
    ),
    OBJECT_DATA(Localisation.getMessage("type.objectdata", ELocale.RU)
            , Localisation.getMessage("type.objectdata", ELocale.EN)
            , Localisation.getMessage("type.objectdata", ELocale.KZ)

    );

    private String nameRu;
    private String nameEn;
    private String nameKz;

    ETestType(String nameRu, String nameEn, String nameKz) {
        this.nameRu = nameRu;
        this.nameEn = nameEn;
        this.nameKz = nameKz;
    }

    public String getNameRu() {
        return nameRu;
    }

    public String getNameEn() {
        return nameEn;
    }

    public String getNameKz() {
        return nameKz;
    }


    @Override
    public String toString() {
        return Localisation.getMsg(this);
    }
}
